/*
 * @Descripttion: 
 * @version: 
 * @Author: TT
 * @Date: 2023-10-28 11:27:47
 * @LastEditors: TT
 * @LastEditTime: 2023-10-28 11:30:36
 */
import 'package:flutter/material.dart';
import 'package:hzy_normal_tool/hzy_normal_tool.dart';
import 'package:hzy_project_template/commpontents/commpontents_index.dart';

abstract class CommoLayoutStateWidget<T extends StatefulWidget>
    extends CommonStateWidget<T> with HzyLayoutMixin {
  @override
  Widget build(BuildContext context) {
    return createBuild(context: context);
  }

  @override
  createLayoutChileWidget({
    BoxConstraints? constraints,
    required BuildContext context,
  }) {
    return createScallBody(
      context: context,
      constraints: constraints,
    );
  }

  @override
  bool configIsNeedLayout() {
    return true;
  }
}
